package com.javasm.mingming.news.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.mingming.news.entity.News;
import com.javasm.mingming.news.vo.NewsModel;

import java.util.List;

/**
 * (News)表服务接口
 *
 * @author makejava
 * @since 2025-01-16 09:47:16
 */
public interface NewsService extends IService<News> {

    List<NewsModel> syncNews();

    List<NewsModel> queryList(Integer pageNum, Integer pageSize);

}

